<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="zh-CN">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1" />
    <!-- <meta name="viewport" content="width=device-width, initial-scale=1"> -->
	<title>后台</title>
	<meta name="keywords" content="" />
	<meta name="description" content="" />
	<link rel="stylesheet" type="text/css" href="/Data/static/bootstrap/3.3.5/css/bootstrap.min.css" media="screen">	
	<link rel='stylesheet' type="text/css" href="/App/Manage/View/Public/css/main.css" />
	<!-- 头部css文件|自定义  -->
	

	<script type="text/javascript" src="/Data/static/js/jquery-1.11.3.min.js"></script>
	<script type="text/javascript" src="/Data/static/bootstrap/3.3.5/js/bootstrap.min.js"></script>

	<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
		<script src="/Data/static/js/html5shiv.min.js"></script>
		<script src="/Data/static/js/respond.min.js"></script>
    <![endif]-->
	
	<script type="text/javascript" src="/App/Manage/View/Public/js/jquery.form.min.js"></script>
	<script type="text/javascript" src="/Data/static/jq_plugins/layer/layer.js"></script>
	<script language="JavaScript">
	    <!--
	    var URL = '/xyhai.php?s=/ClearHtml';
	    var APP	 = '/xyhai.php?s=';
	    var SELF='/xyhai.php?s=/ClearHtml/index';
	    var PUBLIC='/App/Manage/View/Public';
	    var data_path = "/Data";
		var tpl_public = "/App/Manage/View/Public";
	    //-->
	</script>
	<script type="text/javascript" src="/App/Manage/View/Public/js/common.js"></script> 
	<!-- 头部js文件|自定义 -->
	
	
<style>
a { color:#333;}
.row_box { padding:0px;  margin-bottom:20px; height:auto; overflow:hidden;}
.row_box .col-lg-12 { float:none;}
.box_h {  width:98%; margin:auto; height:50px; margin-bottom:10px; border-radius: 4px;  border:1px solid #e7e7e7; background-color:#f8f8f8;
}
.box_h ul { padding:0px; margin:0px; width:98%; margin:auto; margin-top:10px;}
.box_h ul li {  background-color:#fff;  list-style:none; width:80px; color:#333;  float:left; border:1px solid #ccc; text-align:center; vertical-align:middle; 

    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px
 }
.box_h ul li a{ display:block;}
.box_h ul li a:link,.box_h ul li a:visited { text-decoration:none; color:#333;}
.box_h ul li a:hover { text-decoration:none;}
.box_h ul li.enbox { background-color:#fff;}
.box_h ul li.hover { background-color:#ddd;}
</style>	
	
	
</head>
<body>
	<div class="xyh-content">
		
    <div class="row">
        <div class="col-lg-12">
            <h3 class="page-header"><em class="glyphicon glyphicon-cloud-upload"></em> 
            <?php echo ($type); ?>         
            </h3>
        </div>
        
    </div>

    
    <div class="row">
        
        <?php if(empty($html_cache_on)): ?><div class="col-sm-12">
                <div class="alert alert-danger" role="alert">
                  <span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span>
                  <span class="sr-only">Note:</span>
                  <span>说明：</span>静态缓存(HTML)功能已经停用，不需要使用此更新功能。
                </div>
            </div>
        <?php else: ?>
        <div class="col-sm-12">
            <div class="alert alert-success" role="alert">
              <span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span>
              <span class="sr-only">Note:</span>
              <span>说明：</span>静态缓存(HTML)功能已经开启，可以使用此更新功能。
            </div>
        </div><?php endif; ?>
    </div>

    <div class="row margin-botton">
        <div class="col-lg-12">


                <button class="btn btn-success" type="button" onclick="goUrl('<?php echo U('all');?>', 'form_do')"><em class="glyphicon glyphicon-play-circle"></em> 一键更新全站</button>
           

                <button class="btn btn-success" type="button" onclick="goUrl('<?php echo U('home');?>', 'form_do')"><em class="glyphicon glyphicon-play-circle"></em> 更新首页</button>
            
                <button class="btn btn-success" type="button" onclick="goUrl('<?php echo U('lists');?>', 'form_do')"><em class="glyphicon glyphicon-play-circle"></em> 更新栏目</button>
            
                <button class="btn btn-success" type="button" onclick="goUrl('<?php echo U('shows');?>', 'form_do')"><em class="glyphicon glyphicon-play-circle"></em> 更新文档</button>
            
                <button class="btn btn-success" type="button" onclick="goUrl('<?php echo U('special');?>', 'form_do')"><em class="glyphicon glyphicon-play-circle"></em> 更新专题</button>
            
        </div>
    </div> 





			
	</div>	
</body>
</html>